<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorate="fragment">
<head th:replace="layout/header :: head(~{::title},~{::link})">
    <meta charset="UTF-8">
    <title>查看</title>
    <link>
</head>
<body>


    <div th:object="${fruit}" layout:fragment="content">
        <p>编号：<span th:text="*{fruitId}"></span></p>
        <p>编号：<span th:text="*{type}"></span></p>
    </div>
</body>
</html>